package com.heima.media.dto;

import com.heima.common.dto.PageRequestDto;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data

public class ChannelDto extends PageRequestDto {
    private String name;

    public static void main(String[] args) {

        ChannelDto channelDto1 = new ChannelDto();
        channelDto1.setPage(1L);
        channelDto1.setSize(10);
        channelDto1.setName("java");

        ChannelDto channelDto2 = new ChannelDto();
        channelDto2.setPage(2L);
        channelDto2.setSize(10);
        channelDto2.setName("java");

        System.out.println(channelDto1.equals(channelDto2));

    }
}



